
rm=/bin/rm -f
CC= g++ -Wall
DEFS= 
PROGNAME= BMDisk
INCLUDES=  
LIBS= -pthread


DEFINES= $(INCLUDES) $(DEFS)
CFLAGS= -g $(DEFINES)

SRCS = main.cpp argvparser.cpp Environment.cpp ComputationDisk.cpp fillArgument.cpp

OBJS = main.o argvparser.o Environment.o ComputationDisk.o fillArgument.o

.cpp.o:
	$(rm) $@
	$(CC) $(CFLAGS) -c $*.cpp

all: $(PROGNAME)

$(PROGNAME) : $(OBJS)
	$(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) $(LIBS)

clean:
	$(rm) $(OBJS) $(PROGNAME) core *~ Disk.csv
